/*
 * @Author: wangmingshuo
 * @Date: 2020-04-22 10:14:04
 * @LastEditTime: 2020-06-01 17:40:35
 * @FilePath: /nuxt-admin/plugins/element-ui.js
 */
import Vue from 'vue';
import locale from 'element-ui/lib/locale/lang/en';

import { Dialog, Button, Form, Message, Input, FormItem, Icon, Progress } from 'element-ui';
Message.install = function (Vue, options) {
	Vue.prototype.$message = Message;
};
Vue.use(Message); //消息提示
Vue.use({ locale });
Vue.use(Input);
Vue.use(Dialog);
Vue.use(Form);
Vue.use(Button);
Vue.use(FormItem);
Vue.use(Icon);
Vue.use(Progress);
